package net.begincode.searchCommon.bean;

/**
 * @author hlj~宇晗
 * @create 2017-03-26 23:54
 **/
public class Page {
	private int totalPage;//总页数
	private Object data;//数据部分
	private int currentNum;//当前页数
	private int pageEachSize=10;//每页显示的行数
	private int totalNum;//总结果数

	public Page(){

	}
	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
	public int getTotalPage() {

		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	//public List<T> getData() {
	//	return data;
	//}
	//
	//public void setData(List<T> data) {
	//	this.data = data;
	//}

	public int getCurrentNum() {
		return currentNum;
	}

	public void setCurrentNum(int currentNum) {
		this.currentNum = currentNum;
	}

	public int getPageEachSize() {
		return pageEachSize;
	}

	public void setPageEachSize(int pageEachSize) {
		this.pageEachSize = pageEachSize;
	}

	public int getTotalNum() {
		return totalNum;
	}

	public void setTotalNum(int totalNum) {
		this.totalNum = totalNum;
	}
}
